<LayoutEditFormBox :loading="load">
    <template slot="main">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">

            <LayoutCell>
                <!-- 基本信息 -->
                <LayoutCellItem title="基本信息">
                    <el-form-item label="门店分类" prop="member_id" :rules="{ required: true, message: '门店分类 不能为空'}">
                        <el-button @click="classify()">编辑分类</el-button> {{ item }}
                    </el-form-item>
                    <el-form-item label="门店名称" prop="member_id" :rules="{ required: true, message: '门店名称 不能为空'}">
                        <el-input v-model="form.name"></el-input>
                    </el-form-item>
                </LayoutCellItem>
                <!-- 门店认证 -->
                <LayoutCellItem title="门店认证">
                    <el-form-item label="营业执照" prop="license_img" :rules="{ required: true, message: '营业执照 不能为空'}">
                        <SelectImageRadio v-model="form.license_img" :appWindow="appWindow"
                            :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                        </SelectImageRadio>
                    </el-form-item>
                    <el-form-item label="身份证正面">
                        <el-col :span="8">
                            <SelectImageRadio v-model="form.id_card_front_img" :appWindow="appWindow"
                                :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                            </SelectImageRadio>
                        </el-col>
                    </el-form-item>
                    <el-form-item label="身份证背面">
                        <el-col :span="8">
                            <SelectImageRadio v-model="form.id_card_back_img" :appWindow="appWindow"
                                :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                            </SelectImageRadio>
                        </el-col>
                    </el-form-item>
                </LayoutCellItem>

                <!-- 门店信息 -->
                <LayoutCellItem title="门店信息">
                    <el-form-item label="店长姓名" prop="manage" :rules="{ required: true, message: '店长姓名 不能为空'}">
                        <el-input v-model="form.manage"></el-input>
                    </el-form-item>
                    <el-form-item label="联系电话" prop="mobile" :rules="{ required: true, message: '联系电话 不能为空'}">
                        <el-input v-model="form.mobile" maxlength="11" show-word-limit></el-input>
                    </el-form-item>
                    <el-form-item label="选择地址" :rules="{ required: true, message: '选择地址 不能为空'}">
                        <!-- <SelectAddressMap :appWindow="appWindow"
                            :apiConfig="$vFN.Tools.getAppGlobalData('componentsApiConfig.SelectDataGoods',appWindow)">
                        </SelectAddressMap> -->
                        <el-button @click="selectAddressMap()">选择地址</el-button>
                        {{ form.province }}{{ form.city }}{{ form.district }}
                    </el-form-item>
                    <el-form-item label="详细地址" prop="address" :rules="{ required: true, message: '详细地址 不能为空'}">
                        <el-input v-model="form.address"></el-input>
                    </el-form-item>
                    <el-form-item label="门店公告" prop="announcement">
                        <el-input type="textarea" :row="6" v-model="form.announcement"></el-input>
                    </el-form-item>
                    <!-- 地图 -->
                </LayoutCellItem>
                <!-- 门店介绍 -->
                <LayoutCellItem title="门店介绍">
                    <el-form-item label="logo" prop="logo_img">
                        <SelectImageRadio v-model="form.logo_img" :appWindow="appWindow"
                            :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                        </SelectImageRadio>
                    </el-form-item>
                    <el-form-item label="封面图" prop="bg_img">
                        <SelectImageRadio v-model="form.bg_img" :appWindow="appWindow"
                            :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                        </SelectImageRadio>
                    </el-form-item>
                    <el-form-item label="店面图" prop="image_list">
                        <SelectImageCheckbox v-model="form.image_list" :count="6" :appWindow="appWindow"
                            :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                        </SelectImageCheckbox>
                    </el-form-item>
                    <el-form-item label="门店介绍" prop="content">
                        <el-input type="textarea" :row="6" v-model="form.content"></el-input>
                    </el-form-item>
                </LayoutCellItem>

                <!-- <LayoutCellItem title="分享">
                    <el-form-item label="自定义分享标题" prop="share_title">
                        <el-input :row="6" v-model="form.share_title"></el-input>
                    </el-form-item>
                    <el-form-item label="自定义分享图" prop="share_img">
                        <SelectImageRadio v-model="form.share_img" :count="6" :appWindow="appWindow"
                            :apiConfig="$vFN.Tools.getAppGlobalData('selectResourcesImageApiConfig.resourcesImageBox',appWindow)">
                        </SelectImageRadio>
                    </el-form-item>

                </LayoutCellItem> -->

            </LayoutCell>
        </el-form>

    </template>

    <template slot="footer">
        <el-button type="primary" @click="sum()">确定</el-button>
    </template>

</LayoutEditFormBox>